<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/templateLogin.xhtml">

	<ui:define name="content">

		<div id="conteudoCentral" align="center">


			<p align="center">
  
			<h:form id="form">


				<p:growl life="3000" id="msg" />

				<br />
				<br />
				
				<p:panelGrid columns="2" style="margin-top:60px;">
					<f:facet name="header">  
                   Login
                </f:facet>

					<h:outputLabel for="matricula" value="Matricula: *" />
					<p:inputText required="true"
						requiredMessage="Campo Usuario obrigatorio" id="matricula"
						value="#{loginBean.usuario.matricula}" label="matricula" />

					<h:outputLabel for="pass" value="Senha: *" />
					<p:password required="true"
						requiredMessage="Campo Senha obrigatorio" id="pass"
						value="#{loginBean.usuario.senha}" label="pass" />
						
<!-- 					<br /> -->
<!-- 					<h:link outcome="esqueci.xhtml" value="Esqueci a senha" /> -->

					<f:facet name="footer">
						<h:panelGrid columns="2">
						<p:commandButton value="Enviar" action="#{loginBean.entrar}"
							icon="ui-icon-check" style="margin:0" update="msg" />
						<p:commandButton value="Esqueci a senha"/>
						</h:panelGrid>
					</f:facet>

				</p:panelGrid>


			</h:form>
			
			   </p>

		</div>

	</ui:define>

</ui:composition>

</html>